package org.zs.miracle.entity.notice;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.zs.miracle.common.base.entity.AbstractBaseEntity;

/**
 * 通知公告表实体
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("web_notice")
public class NoticeEntity extends AbstractBaseEntity {
  
  @Serial
  private static final long serialVersionUID = -1;
  
  /**
   * 用户ID
   */
  private Long userId;
  
  /**
   * 帖子ID
   */
  private Long postId;
  
  /**
   * 标题
   */
  private String title;
  
  /**
   * 头像URL
   */
  private String avatarUrl;
  
  /**
   * 内容
   */
  private String content;
  
  /**
   * 备注
   */
  private String remark;
  
  /**
   * 删除标记
   */
  private Byte deleted;
}